#!/bin/bash

BUILD_DIR=/home/lyp/dnskv/build
DATAFILE=/data/lyp/ycsb100m/dataset.dat

rm /mnt/pmem/dnskv -rf; rm /data/nvme0/dnskv -rf
numactl --membind=0 --cpunodebind=0 ${BUILD_DIR}/benchmark -t dnskv -n 16 -f ${DATAFILE}

rm /mnt/pmem/myslm -rf; rm /data/nvme0/myslm -rf
numactl --membind=0 --cpunodebind=0 ${BUILD_DIR}/benchmark -t myslm -n 16 -f ${DATAFILE}

rm /mnt/pmem/btree -rf; rm /data/nvme0/btree -rf
numactl --membind=0 --cpunodebind=0 ${BUILD_DIR}/benchmark -t btree -n 16 -f ${DATAFILE}